<ul>
	{foreach from=$top_menu.pages item=page name=top_menu key=cid}
		<li {if $page.current}id="current"{/if}><a href="{if $page.page_url}{$page.page_url}{else}/{$page.page_system_name}.html{/if}">{$page.page_title}</a></li>
	{/foreach}
</ul>